package com.yunxi.market.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class MarketActivityQueryReqVO implements Serializable {
    @ApiModelProperty(value = "主键")
    private String activityId;

    @ApiModelProperty(value = "活动编号")
    private String activityCode;

    @ApiModelProperty(value = "活动名称")
    private String activityName;

    @ApiModelProperty(value = "预估总费用")
    private BigDecimal totalCost;

    @ApiModelProperty(value="实际总费用")
    private BigDecimal realTotalCost;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "创建时间")
    private Date beginDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "结束时间")
    private Date endDate;

    @ApiModelProperty(value = "审批状态")
    private Integer auditStatus;

    @ApiModelProperty(value = "渠道商代码")
    private String partnerCode;

    @ApiModelProperty(value = "渠道商名称")
    private String partnerName;

    @ApiModelProperty(value = "活动地点")
    private String location;

    @ApiModelProperty(value = "活动人数")
    private Integer num;

    @ApiModelProperty(value = "活动设备")
    private String activityDevice;

    @ApiModelProperty(value = "活动内容")
    private String activityContent;

    @ApiModelProperty(value = "创建人")
    private String createBy;
}
